#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>


char* my_strcat(char* dest,const char* src)
{
	/*assert(dest != NULL);
	assert(src != NULL);*/
	
	char* ret = dest;
	while (*dest)
	{
		dest++;
	}
	while (*src)
	{
		*dest = *src;
		dest++;
		src++;
	}
	return ret;
}

int main()
{
	char arr[20] = "abcdbfa";
	char* arr1 = "123cdeds";
	
	printf("%s", my_strcat(arr, arr1));
	return 0;
}




	
